package com.wf.course.model.goods;

public class ShoppingCart {
	private Integer id;
	private Integer foreignId; //商品id(依据商品类型取不同的值)
	private Integer userId; //用户id
	private Integer number;//商品数量
	private Integer type;//商品类别编码（商品类型（1.课程 2.章节3.vip卡4商品））
	private String price; //商品价格
	private String create_time; //更新时间
	private String goodsName; //商品名称
	private String userName; //用户名
	private String goodsImg; //商品图片
	private String specification;//商品规格
	
	
	public Integer getId() {
		return id;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	 
	public String getSpecification() {
		return specification;
	}
	public void setSpecification(String specification) {
		this.specification = specification;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	 
	public Integer getForeignId() {
		return foreignId;
	}
	public void setForeignId(Integer foreignId) {
		this.foreignId = foreignId;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getGoodsImg() {
		return goodsImg;
	}
	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	@Override
	public String toString() {
		return "ShoppingCart [id=" + id + ", foreignId=" + foreignId + ", userId=" + userId + ", number=" + number
				+ ", type=" + type + ", price=" + price + ", create_time=" + create_time + ", goodsName=" + goodsName
				+ ", userName=" + userName + ", goodsImg=" + goodsImg + "]";
	}

}
